import type { RouteRecordRaw } from 'vue-router';

import { $t } from '#/locales';

const routes: RouteRecordRaw[] = [
  {
    meta: {
      icon: 'tabler:user',
      keepAlive: true,
      order: 3 ,
      title: $t('user.title'),
    },
    name: 'user',
    path: '/user',
    children: [
      {
        meta: {
          title: $t('user.list'),
        },
        name: 'userList',
        path: '/user/list',
        component: () => import('#/views/user/index.vue'),
      },
    ],
  },
];

export default routes;
